﻿using Newtonsoft.Json;
using Service.src.Model.Folw;
using Service.src.NW.Enum;
using System.Collections.Generic;

namespace Service.src.Model
{
    public class Groupre
    {
        [JsonProperty("groups")]
        public List<SourceNodeGroup> Groups { get; set; }
    }

    public class SourceNodeGroup
    {
        [JsonProperty("id")]
        public int id { get; set; }

        [JsonProperty("title")]
        public string title { get; set; }

        [JsonProperty("group")]
        public GroupTypeEnum Group { get; set; }

        [JsonProperty("name")]
        public string name { get; set; }

        [JsonProperty("items")]
        public List<FlowNode> items { get; set; }

    }
   
}
